package com.hst.web.base.ui;

import java.sql.Timestamp;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.base.entity.TEmployeeOperate;
import com.hst.web.base.proxy.EmployeeOperateProxy;

@EInfo(name = "employee-operate", title = "人员入职离职记录", entity = TEmployeeOperate.class,proxy=EmployeeOperateProxy.class)
public class EmployeeOperate extends MetaData{
	
	@EField(name = "id", list = false, form = 0)
	private String id;
	
	@EField(name = "employeeCode", title = "员工编号",list=false)
	private String employeeCode;
	
	@EField(mapped= false, title = "员工",query = FieldQuery.LIKE)
	private String fullName;

	@EField(name = "companyCode", title = "公司",editor="select.company-all",viewer = "dict.company-all",role="9",query = FieldQuery.EQ)
	private String companyCode;

	@EField(name = "deptCode", title = "部门", viewer = "dict.dept-all")
	private String deptCode;

	@EField(name = "contractorCode", title = "承包商",editor="select.contractor-all",viewer = "dict.contractor-all",query = FieldQuery.EQ)
	private String contractorCode;

	@EField(name = "opType", title = "操作", viewer = "dict.opType")
	private String opType;

	@EField(name = "opRemark", title = "备注")
	private String opRemark;
	
	@EField(name = "opTime", title = "时间")
	private Timestamp opTime;

	@EField(name = "opUserid", title = "操作人",viewer="dict.user-all")
	private String opUserid;

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getContractorCode() {
		return contractorCode;
	}

	public void setContractorCode(String contractorCode) {
		this.contractorCode = contractorCode;
	}

	public String getOpType() {
		return opType;
	}

	public void setOpType(String opType) {
		this.opType = opType;
	}

	public String getOpRemark() {
		return opRemark;
	}

	public void setOpRemark(String opRemark) {
		this.opRemark = opRemark;
	}

	public Timestamp getOpTime() {
		return opTime;
	}

	public void setOpTime(Timestamp opTime) {
		this.opTime = opTime;
	}

	public String getOpUserid() {
		return opUserid;
	}

	public void setOpUserid(String opUserid) {
		this.opUserid = opUserid;
	}
}
